package com.softeem.mapper;


import com.softeem.pojo.SysPermission;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysPermissionMapper {

    //根据角色ID，查询这个角色对应的权限
    public List<SysPermission> selectByRoleId(int roleId);
}
